<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width,initial-scale=1.0">
    <title>装饰者模式</title>
    <style>
      .container {
        padding: 16px;
      }
      .title {
        padding-bottom: 16px;
      }
      .panel {
        margin-top: 16px;
      }
      .btn {
        width: 72px;
        height: 40px;
      }
    </style>
  </head>
  <body>
    <div class="container">
      <div class="title">我的小摊：</div>
      <div class="menu">
        <button class="btn" id="pancake">煎饼果子</button>
        <button class="btn" id="egg">加鸡蛋</button>
        <button class="btn" id="sausage">加香肠</button>
        <button class="btn" id="bacon">加培根</button>
        <hr>
        <div class="panel" id="info"></div>
      </div>
    </div>
    <script src="./js/index.js" type="module"></script>
  </body>
</html>
